//
//  Theme.swift
//  TuneMate
//
//  Created by 丸子 on 2023/11/22.
//

import UIKit

protocol ColorProvide {
    var main: UIColor { get }
    var text_d1: UIColor { get }
    var text_d2: UIColor { get }
    var text_d3: UIColor { get }
    var text_d4: UIColor { get }
    var lineColor: UIColor { get }

}

extension ColorProvide {
    var text_d1: UIColor { UIColor(hexString: "#383838") }
    var text_d2: UIColor { UIColor(hexString: "#666666") }
    var text_d3: UIColor { UIColor(hexString: "#999999") }
    var text_d4: UIColor { UIColor(hexString: "#CCCCCC") }
    var bg_grey: UIColor { UIColor(hexString: "#f0eef3") }
    var lineColor: UIColor { UIColor(hexString: "#CCCCCC") }
}

struct TuneMateColor: ColorProvide {
    var main = UIColor(hexString: "#28272D")
}

class Theme {
    static var color: ColorProvide {
        return TuneMateColor()
    }
    static var image: ImageProvide {
          return Image()
    }
}
protocol ImageProvide {
    var loginBg: UIImage? { get }
    var logo: UIImage? { get }
    var defaultAvatar: UIImage? { get }
    var defaultCover: UIImage? { get }
    var noMoreData: UIImage? { get }
 
}
struct Image: ImageProvide {
 
    private(set) var logo = UIImage(named: "")
    private(set) var loginBg = UIImage(named: "")
    private(set) var defaultAvatar = UIImage(named: "")
    private(set) var defaultCover = UIImage(named: "")
    private(set) var noMoreData = UIImage(named: "")
    
    

}
